package org.docmanagement.forms;

import java.io.Serializable;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionMapping;

/**
 * Created on 29 nov. 2002
 * @file CategoryInfo.java
 * @author Manuel EVENO
 */
public class KeywordForm extends IdForm implements Serializable
{
	private static final long serialVersionUID = 1L;

	private String name = null;
	/**
	 * Constructor for Category.
	 */
	public KeywordForm()
	{
	}
	/**
	 * Returns the name.
	 * @return String
	 */
	public String getName()
	{
		return name;
	}
	/**
	 * @param pName
	 */
	public void setName(String pName)
	{
		name = pName.trim();
	}
	/**
	 * @see org.apache.struts.action.ActionForm#reset(org.apache.struts.action.ActionMapping, javax.servlet.http.HttpServletRequest)
	 */
    public void reset(ActionMapping mapping, HttpServletRequest request)
    {
        super.reset(mapping, request);
        name = null;
    }
}
